{if $ad6.open && $ad6['config']['mobile_open']}
<div style="background: #fff;padding:5px;margin-bottom: 10px">
    <div class="layui-clear layui-row layui-col-space5">
        {volist name="$ad6.list" id="vo"}
        <div class="layui-col-md<?php echo round(12/$ad6['config']['columns'])?>">
            <a href="{$vo.link}" target="_blank"><img src="{$vo.banner_path}" style="height:{:$ad6['config']['rows']<75?75:$ad6['config']['rows']}px;width: 100%"/></a>
        </div>
        {/volist}
    </div>
</div>
{/if}